package org.blade.personal.framework.dsl;

import org.blade.personal.engine.DdlKeyWord;
import org.blade.personal.framework.orm.EntityAttribute;
import org.blade.personal.framework.orm.TypeAlias;

/**
 * $类
 * @author Thinkpad
 *
 */
public class $ {
	
	public static String orderBy(TypeAlias attr){
		
		EntityAttribute entityAttr = (EntityAttribute)attr;
		String orderBy = DdlKeyWord.ORDER_BY + entityAttr.getName() + DdlKeyWord.DESC;
	    return orderBy;
	}
	

}
